Browse for file on local machine

How do I create a dialog to browse the local machine for a filename with a specific file type (.txt)?  I know how to open a file that is placed in a specific location, but I can't figure out how to allow the user to browser for a file to be read in.

 

Chris


chrscote - Wed Oct 03 14:31:11 EDT 2018

Re: Browse for file on local machine
Mike.Scharnow - Wed Oct 03 14:38:06 EDT 2018

Should be:

DBE fileName(DB box,
 [string label,]
 [,string initFileName
 [,string extension,
 string description
 [,bool readOnly]]])